package br.com.intelsys.basics.spring.elscape;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.jsp.JspFactory;

public class EscapeXmlELResolverListener implements ServletContextListener {
	public void contextInitialized(ServletContextEvent event) {
		JspFactory.getDefaultFactory().getJspApplicationContext(event.getServletContext()).addELResolver(new EscapeXmlELResolver());
	}

	public void contextDestroyed(ServletContextEvent event) {
	}
}
